<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script type="module">
        //export 可以有多个
        // 引入的时候必须加（）
        import {a, sub} from './export.js'
        console.log(a);
        console.log(sub(10))

        // export default
        import fn from "./export.js"
        console.log(fn(9,3));
    </script>
</body>
</html>